vulkan: Fix swapchain creation
authorMatthias Clasen <mclasen@redhat.com>
Thu, 10 Sep 2020 17:55:16 +0000 (13:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 10 Sep 2020 17:55:16 +0000 (13:55 -0400)
commitb9d4654fcaeb0313845f221135f4236c24ad2248
tree0dbf0e9c3bb4f89b6e433abe85d8378136c8f810
parent9b0b19d335576c066a77e45994435a53a3b5843c
vulkan: Fix swapchain creation

We end up with a surface that has size 0x0 at the
time we create the Vulkan context, and that is a
size that Vulkan doesn't like, so ensure we request
at least 1x1.

Fixes: #3147
gdk/gdkvulkancontext.c